<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="">

    <title>${blog.blogHead}</title>

    <!-- Bootstrap core CSS -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="${basePath}/assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="${basePath}/assets/css/blog.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="${basePath}/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="${basePath}/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <div class="blog-masthead">
      <div class="container">
        <nav class="blog-nav">
          <a class="blog-nav-item active" href="${basePath}/v/blog/du/list">Home</a>
          <a class="blog-nav-item" href="#">About</a>
        </nav>
      </div>
    </div>

    <div class="container">

      <div class="blog-header">
        <h1 class="blog-title">${author.userName}的博客</h1>
        <p class="lead blog-description">dushen.com</p>
      </div>

      <div class="row">

        <div class="col-sm-8 blog-main">

          <div class="blog-post">
            <h2 class="blog-post-title">${blog.blogHead}</h2>
            <p class="blog-post-meta">${blog.createTime?string('yyyy-MM-dd')} 
             <#if blog.tagsArr?exists && blog.tagsArr?size gt 0 >
	             <#list blog.tagsArr as v>
	               <a href="#">${v}</a>
			     </#list>   
			 </#if>         
            </p>
			${blog.blogBody}
		</div><!-- /.blog-post -->

          <nav>
            <ul class="pager">
              <li><a href="${basePath}">上一篇</a></li>
              <li><a href="${basePath}">下一篇</a></li>
            </ul>
          </nav>

        </div><!-- /.blog-main -->

        <div class="col-sm-3 col-sm-offset-1 blog-sidebar">
          <div class="sidebar-module sidebar-module-inset">
            <img style="text-align: center;width: 120px !important;border: 0;line-height: 1.5;" src="${author.avatar}"/>
            <p style="text-align: center;">${author.userName}</p>
            <p style="text-align: center;">${author.description}</p>
          </div>
          <div class="sidebar-module">
            <h4>分类</h4>
            <ol class="list-unstyled">
              <#if blogClassifys?exists && blogClassifys?size gt 0 >
				<#list blogClassifys as v>
		          <li><a href="#">${v.typName}</a></li>
		        </#list>
		      </#if>
            </ol>
          </div>          
          <div class="sidebar-module">
            <h4>归档</h4>
            <ol class="list-unstyled">
              <#if monthGroup?exists && monthGroup?size gt 0 >
				<#list monthGroup as v>
		          <li><a href="#">${v.name}(${v.n})</a></li>
		        </#list>
		      </#if>
            </ol>
          </div>

        </div><!-- /.blog-sidebar -->

      </div><!-- /.row -->

    </div><!-- /.container -->

    <footer class="blog-footer">
      <p>981040863@qq.com By 杜神 </p>
      <p>
        <a href="#">Back to top</a>
      </p>
    </footer>


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="assets/js/vendor/jquery.min.js"><\/script>')</script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="${basePath}/assets/js/ie10-viewport-bug-workaround.js"></script>
  </body>
</html>